lcBlockAddText | Home |
HANDLE lcBlockAddText ( HANDLE hBlock, LPCWSTR szText, double X, double Y ); |
hBlock | |
Handle to a block. | |
szText | |
Text string. It can contain formatting codes which allow to add specific characters. | |
X Y | |
Coordinates of the Text insertion point. The text placement around the point depends on default alignment by text style (LC_PROP_TSTYLE_ALIGN parameter). |
Handle to created text object or NULL if the function fails. |
For missing text parameters, such as height, width scale, alignment, rotation angle, oblique angle, "Upside down" and "Backward" flag, the default values from active text style will be used. |
Code sample, lcBlockAddText2, Text style |